﻿/*
 * @Autor: PK
 * @Date: 2021/12/25 15:32:SS
 */

using System;

namespace ShkSimulation.core.optimization.impl {

	public class OptimizationConfig {

		public TimeSpan SimulationTimeSpan { get; set; }
		
		public DateTime StartTime { get; set; }
		
		public TimeSpan ObserveTimeSpan { get; set; }

		public static OptimizationConfig Create(DateTime startTime, TimeSpan simulationTimeSpan, TimeSpan observeTimeSpan) {
			OptimizationConfig config = new OptimizationConfig();
			config.StartTime = startTime;
			config.SimulationTimeSpan = simulationTimeSpan;
			config.ObserveTimeSpan = observeTimeSpan;
			return config;
		}

	}

}